<?php
session_start();
echo "<link href='./assets/css/bootstrap.css' rel='stylesheet' type='text/css'>";
error_reporting(0);
if($_SESSION['username']!="")
{
?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Hanjuang Admin Panel</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="./assets/css/bootstrap.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }
    </style>
    
    <link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="./assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="./assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="./assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="./assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="./assets/ico/apple-touch-icon-57-precomposed.png">
  </head>

  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
            <a class="brand" href="home.php">&nbsp;<b> <font color="#eeeeee">Hanjuang</font><font color="#eeeeee">.</font><font color="#eeeeee">Com</font>  </b> &nbsp;&nbsp;&nbsp;</a>
          <div class="btn-group pull-right">
            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
              <i class="icon-user"></i> <?php echo $_SESSION['username']?>
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
              <li><a href="logout.php">Sign Out</a></li>
            </ul>
          </div>
          <div class="nav-collapse">
            <ul class="nav">
              <li class="active"><a href="#"><i class="icon-th"></i> Home</a></li>
              <li><a href="./bottom_menu/about.php"><i class="icon-book"></i> About</a></li>
              <li><a href="./bottom_menu/contact.php"> <i class="icon-envelope"></i> Contact</a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span3">
          <div class="well sidebar-nav">
            <ul class="nav nav-list">
               
              <li class="nav-header"></li>
			  
              <li ><a href="product.php">Data Produk</a></li>
              <li><a href="order.php">Data Pesanan</a></li>
              <li><a href="delivery_expense.php">Data Ekspedisi</a></li>
              <li><a href="transfer.php">Bukti Pengiriman</a></li>
              <li><a href="sending.php">Bukti Pembayaran</a></li>
			  <li><a href="report.php">Laporan Transaksi</a></li>
			  <li><a href="gantipassword.php">Ganti Password</a></li>
              <li><a href="#"><div class="jam"></div></a></li>
              
              
            </ul>
          </div><!--/.well -->
        </div><!--/span-->
        <div class="span9">
          <div class="hero-unit">
            <h1>Selamat Datang !</h1>
			<p></p>
            <p> Ini adalah aplikasi pemesanan barang untuk bagian admin. Admin dapat melakukan : </p>
			<p> 1. Manipulasi Data Produk.</p>
			<p> 2. Melihat Data Pesanan.</p>
			<p> 3. Manipulasi Data Ekspedisi.</p>
			<p> 4. Mengupload Bukti Pengiriman.</p>
			<p> 5. Melihat data Bukti Pembayaran.</p>
			<p> 6. Membuat Laporan Transaksi.</p>
			<p> 7. Mengganti Password.</p>
            
          </div>
          
          </div><!--/row-->

         
            </div><!--/span-->
          </div><!--/row-->
        </div><!--/span-->
      </div><!--/row-->

      <hr>

      <footer>
        <p><center>&nbsp;&nbsp;&copy; Hanjuang.com 2013 Develop By Selly Riantica Frasellia</center></p>
      </footer>

    </div><!--/.fluid-container-->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="./assets/js/jquery.js"></script>
    <script src="./assets/js/bootstrap-transition.js"></script>
    <script src="./assets/js/bootstrap-alert.js"></script>
    <script src="./assets/js/bootstrap-modal.js"></script>
    <script src="./assets/js/bootstrap-dropdown.js"></script>
    <script src="./assets/js/bootstrap-scrollspy.js"></script>
    <script src="./assets/js/bootstrap-tab.js"></script>
    <script src="./assets/js/bootstrap-tooltip.js"></script>
    <script src="./assets/js/bootstrap-popover.js"></script>
    <script src="./assets/js/bootstrap-button.js"></script>
    <script src="./assets/js/bootstrap-collapse.js"></script>
    <script src="./assets/js/bootstrap-carousel.js"></script>
    <script src="./assets/js/bootstrap-typeahead.js"></script>
    <script type="text/javascript" src="./assets/js/jquery.tools.min.js"></script>
    <script>flashembed("jam", "./assets/img/jam.swf");</script>
    <?php
    
    ?>
  </body>
</html>
<?php 
	}
else {
	echo "<br></br>";
	echo "<br></br>";
	echo "<center><img src='./assets/img/security.png'></center>";
        echo '<div class="alert">
                <button class="close" data-dismiss="alert">×</button>
                    <center><strong>Warning!</strong> You dont have access into this page </center>
                    </div>';
	
}
?>